class CreateCanshus < ActiveRecord::Migration
  def self.up
    create_table :canshus do |t|
      t.string:biaoti
      t.string :neirong

      t.timestamps
    end
    d=Canshu.new
    d.biaoti='sp'
    d.save
  end

  def self.down
    drop_table :canshus
  end
end
